package com.ruoyi.report.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 文章分类对象 t_popularize_article
 * 
 * @author administrator
 * @date 2025-02-12
 */
public class TPopularizeArticle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 普法分类 */
    @Excel(name = "普法分类")
    private String articleClassification;

    /** 普法分类图片 */
    @Excel(name = "普法分类图片")
    private String articleClassificationImage;

    /** 排序 */
    @Excel(name = "排序")
    private String sort;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cteateTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setArticleClassification(String articleClassification)
    {
        this.articleClassification = articleClassification;
    }

    public String getArticleClassification()
    {
        return articleClassification;
    }
    public void setArticleClassificationImage(String articleClassificationImage)
    {
        this.articleClassificationImage = articleClassificationImage;
    }

    public String getArticleClassificationImage()
    {
        return articleClassificationImage;
    }
    public void setSort(String sort)
    {
        this.sort = sort;
    }

    public String getSort()
    {
        return sort;
    }
    public void setCteateTime(Date cteateTime)
    {
        this.cteateTime = cteateTime;
    }

    public Date getCteateTime()
    {
        return cteateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("articleClassification", getArticleClassification())
            .append("articleClassificationImage", getArticleClassificationImage())
            .append("sort", getSort())
            .append("cteateTime", getCteateTime())
            .toString();
    }
}
